package com.fifth.home.service;

import com.fifth.common.pojo.dto.CommonResult;
import com.fifth.common.pojo.entity.Zone;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 专区 服务类
 * </p>
 *
 * @author 第五组
 * @since 2022-09-01
 */
public interface IZoneService extends IService<Zone> {

    CommonResult fuzzyQuery(Zone zone, Integer currentPage,Integer pageSize);

    CommonResult prefectureSearch();

    CommonResult addPrefecture(Zone zone);

    CommonResult updatePrefectureDetails(Zone zone);

    CommonResult deletePrefecture(String id);

    CommonResult updateStatus(String id, String isDisable);

}
